package com.lebang.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class AdErrorConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public AdErrorConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(LocalDateTime value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(LocalDateTime value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(LocalDateTime value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(LocalDateTime value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<LocalDateTime> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<LocalDateTime> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNull() {
            addCriterion("has_deleted is null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNotNull() {
            addCriterion("has_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedEqualTo(Integer value) {
            addCriterion("has_deleted =", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotEqualTo(Integer value) {
            addCriterion("has_deleted <>", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThan(Integer value) {
            addCriterion("has_deleted >", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("has_deleted >=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThan(Integer value) {
            addCriterion("has_deleted <", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("has_deleted <=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIn(List<Integer> values) {
            addCriterion("has_deleted in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotIn(List<Integer> values) {
            addCriterion("has_deleted not in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted not between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIsNull() {
            addCriterion("sdk_key is null");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIsNotNull() {
            addCriterion("sdk_key is not null");
            return (Criteria) this;
        }

        public Criteria andSdkKeyEqualTo(String value) {
            addCriterion("sdk_key =", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotEqualTo(String value) {
            addCriterion("sdk_key <>", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyGreaterThan(String value) {
            addCriterion("sdk_key >", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_key >=", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLessThan(String value) {
            addCriterion("sdk_key <", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLessThanOrEqualTo(String value) {
            addCriterion("sdk_key <=", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLike(String value) {
            addCriterion("sdk_key like", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotLike(String value) {
            addCriterion("sdk_key not like", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIn(List<String> values) {
            addCriterion("sdk_key in", values, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotIn(List<String> values) {
            addCriterion("sdk_key not in", values, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyBetween(String value1, String value2) {
            addCriterion("sdk_key between", value1, value2, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotBetween(String value1, String value2) {
            addCriterion("sdk_key not between", value1, value2, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIsNull() {
            addCriterion("error_code is null");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIsNotNull() {
            addCriterion("error_code is not null");
            return (Criteria) this;
        }

        public Criteria andErrorCodeEqualTo(String value) {
            addCriterion("error_code =", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotEqualTo(String value) {
            addCriterion("error_code <>", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeGreaterThan(String value) {
            addCriterion("error_code >", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("error_code >=", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLessThan(String value) {
            addCriterion("error_code <", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLessThanOrEqualTo(String value) {
            addCriterion("error_code <=", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLike(String value) {
            addCriterion("error_code like", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotLike(String value) {
            addCriterion("error_code not like", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIn(List<String> values) {
            addCriterion("error_code in", values, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotIn(List<String> values) {
            addCriterion("error_code not in", values, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeBetween(String value1, String value2) {
            addCriterion("error_code between", value1, value2, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotBetween(String value1, String value2) {
            addCriterion("error_code not between", value1, value2, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorMsgIsNull() {
            addCriterion("error_msg is null");
            return (Criteria) this;
        }

        public Criteria andErrorMsgIsNotNull() {
            addCriterion("error_msg is not null");
            return (Criteria) this;
        }

        public Criteria andErrorMsgEqualTo(String value) {
            addCriterion("error_msg =", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgNotEqualTo(String value) {
            addCriterion("error_msg <>", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgGreaterThan(String value) {
            addCriterion("error_msg >", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgGreaterThanOrEqualTo(String value) {
            addCriterion("error_msg >=", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgLessThan(String value) {
            addCriterion("error_msg <", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgLessThanOrEqualTo(String value) {
            addCriterion("error_msg <=", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgLike(String value) {
            addCriterion("error_msg like", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgNotLike(String value) {
            addCriterion("error_msg not like", value, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgIn(List<String> values) {
            addCriterion("error_msg in", values, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgNotIn(List<String> values) {
            addCriterion("error_msg not in", values, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgBetween(String value1, String value2) {
            addCriterion("error_msg between", value1, value2, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andErrorMsgNotBetween(String value1, String value2) {
            addCriterion("error_msg not between", value1, value2, "errorMsg");
            return (Criteria) this;
        }

        public Criteria andWaitTimeIsNull() {
            addCriterion("wait_time is null");
            return (Criteria) this;
        }

        public Criteria andWaitTimeIsNotNull() {
            addCriterion("wait_time is not null");
            return (Criteria) this;
        }

        public Criteria andWaitTimeEqualTo(Integer value) {
            addCriterion("wait_time =", value, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeNotEqualTo(Integer value) {
            addCriterion("wait_time <>", value, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeGreaterThan(Integer value) {
            addCriterion("wait_time >", value, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("wait_time >=", value, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeLessThan(Integer value) {
            addCriterion("wait_time <", value, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeLessThanOrEqualTo(Integer value) {
            addCriterion("wait_time <=", value, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeIn(List<Integer> values) {
            addCriterion("wait_time in", values, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeNotIn(List<Integer> values) {
            addCriterion("wait_time not in", values, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeBetween(Integer value1, Integer value2) {
            addCriterion("wait_time between", value1, value2, "waitTime");
            return (Criteria) this;
        }

        public Criteria andWaitTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("wait_time not between", value1, value2, "waitTime");
            return (Criteria) this;
        }

        public Criteria andFaultTimesIsNull() {
            addCriterion("fault_times is null");
            return (Criteria) this;
        }

        public Criteria andFaultTimesIsNotNull() {
            addCriterion("fault_times is not null");
            return (Criteria) this;
        }

        public Criteria andFaultTimesEqualTo(Integer value) {
            addCriterion("fault_times =", value, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesNotEqualTo(Integer value) {
            addCriterion("fault_times <>", value, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesGreaterThan(Integer value) {
            addCriterion("fault_times >", value, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("fault_times >=", value, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesLessThan(Integer value) {
            addCriterion("fault_times <", value, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesLessThanOrEqualTo(Integer value) {
            addCriterion("fault_times <=", value, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesIn(List<Integer> values) {
            addCriterion("fault_times in", values, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesNotIn(List<Integer> values) {
            addCriterion("fault_times not in", values, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesBetween(Integer value1, Integer value2) {
            addCriterion("fault_times between", value1, value2, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andFaultTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("fault_times not between", value1, value2, "faultTimes");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeIsNull() {
            addCriterion("second_wait_time is null");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeIsNotNull() {
            addCriterion("second_wait_time is not null");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeEqualTo(Integer value) {
            addCriterion("second_wait_time =", value, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeNotEqualTo(Integer value) {
            addCriterion("second_wait_time <>", value, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeGreaterThan(Integer value) {
            addCriterion("second_wait_time >", value, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("second_wait_time >=", value, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeLessThan(Integer value) {
            addCriterion("second_wait_time <", value, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeLessThanOrEqualTo(Integer value) {
            addCriterion("second_wait_time <=", value, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeIn(List<Integer> values) {
            addCriterion("second_wait_time in", values, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeNotIn(List<Integer> values) {
            addCriterion("second_wait_time not in", values, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeBetween(Integer value1, Integer value2) {
            addCriterion("second_wait_time between", value1, value2, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andSecondWaitTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("second_wait_time not between", value1, value2, "secondWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeIsNull() {
            addCriterion("more_wait_time is null");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeIsNotNull() {
            addCriterion("more_wait_time is not null");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeEqualTo(Integer value) {
            addCriterion("more_wait_time =", value, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeNotEqualTo(Integer value) {
            addCriterion("more_wait_time <>", value, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeGreaterThan(Integer value) {
            addCriterion("more_wait_time >", value, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("more_wait_time >=", value, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeLessThan(Integer value) {
            addCriterion("more_wait_time <", value, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeLessThanOrEqualTo(Integer value) {
            addCriterion("more_wait_time <=", value, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeIn(List<Integer> values) {
            addCriterion("more_wait_time in", values, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeNotIn(List<Integer> values) {
            addCriterion("more_wait_time not in", values, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeBetween(Integer value1, Integer value2) {
            addCriterion("more_wait_time between", value1, value2, "moreWaitTime");
            return (Criteria) this;
        }

        public Criteria andMoreWaitTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("more_wait_time not between", value1, value2, "moreWaitTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}